package com.jdz.service;

import com.jdz.entities.NoiseRow;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

@Mapper
@Component
public interface NoiseService {

    public int addNoiseRow(NoiseRow noiseRow);

    //读取出时间a-->时间b时间内时间同步的结果
    public ArrayList<NoiseRow> getAllNoise();

    //读取整个时间段内时间同步的结果
    public ArrayList<NoiseRow> getNoiseByTime(float begin,float end);


}
